home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-09-30 | 1.6 KB | 61 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="7"
- "COUNT"="2"
- "UIPATH"="Program Options\Microsoft Office\MS Office 2000\Visio 2000"
- "NAME"="Visio 2000 Tooltips"
- "VERSION"="1.00"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Disable Tooltips"
- "TEXT 2"="Enable Tooltips"
- "DESCRIPTION 1"="For Visio 2000: Check 1st Box to disable showing Tooltips; Check 2nd Box to enable showing Tooltips [default] ."
- "AUTHOR"="Ojatex@aol.com"
- "CONTACTURL"="http://members.aol.com/ojatex/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For X-Setup program information, go to http://www.xteq.com."
- "COMMENT 2"="Thanks to CptSiskoX for tip and settings."
-
- sPath="HKCU\Software\Visio\Visio 2000\application\"
-
- Sub Plugin_Initialize
- if RegPathExists(sPath)=false then
- Call Disable()
- else
-
- i=RegReadValue("HKCU\Software\Visio\Visio 2000\application\ShowTooltips")
- if i="0" then SetUIElement 1,true
-
- i=RegReadValue("HKCU\Software\Visio\Visio 2000\application\ShowTooltips")
- if i="1" or IsEmpty(i) then SetUIElement 2,true
-
-
- ' else
- ' Call Disable()
- ' end if
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue("HKCU\Software\Visio\Visio 2000\application\ShowTooltips","0",2)
- ' else
- ' Call Disable()
- end if
-
- b=GetUIElement(2)
- if b=true then
- Call RegWriteValue("HKCU\Software\Visio\Visio 2000\application\ShowTooltips","1",2)
- ' else
- ' Call Disable()
- end if
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-